package com.wjy.Data_Structure.strategy;

public interface Strategy {
	/**
	 * 判断两个数据元素是否相等
	 * 
	 * @param obj1
	 * @param obj2
	 * @return
	 */
	public boolean equal(Object obj1, Object obj2);

	/**
	 * 判断两个数据元素的大小 obj1>obj2 return -1; obj1=obj2 return 0; obj1<obj2 reurn 1
	 * 
	 * @param obj1
	 * @param obj2
	 * @return
	 */
	public int compare(Object obj1, Object obj2);

}
